package cn.supermaster.management.web.controller.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management.web.controller.control
 * @ClassName: IconController
 * @Description: [报表]
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/1/16 15:00
 * @Version: V1.0
 * @Copyright: 2021 www.super-bytecode.comn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Controller
@RequestMapping("/control/report")
public class ReportController {
    private String prefix = "/control/report";

    /**
     * @Description: [百度ECharts]
     * <p></P>
     * @Title: skipEchartsHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/echarts")
    public String skipEchartsHtml() {
        return prefix + "/echarts";
    }

    /**
     * @Description: [图表插件]
     * <p></P>
     * @Title: skipPeityHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/peity")
    public String skipPeityHtml() {
        return prefix + "/peity";
    }

    /**
     * @Description: [线状图插件]
     * <p></P>
     * @Title: skipSparklineHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/sparkline")
    public String skipSparklineHtml() {
        return prefix + "/sparkline";
    }

    /**
     * @Description: [图表组合]
     * <p></P>
     * @Title: skipMetricsHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/metrics")
    public String skipMetricsHtml() {
        return prefix + "/metrics";
    }
}
